package com.x.crm.model;


import com.x.crm.model.VO.CooperationVO;
import com.x.crm.model.VO.IntentionVO;
import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

@MappingTable(tableName = "CRM_COOPERATION")
public class Cooperation extends BaseObject{

	@MappingColumn(columnName = "COOPER_ID", columnPk = true, columnLength = 32)
	private String cooperId;

	@MappingColumn(columnName = "COOPER_NAME")
	private String cooperName;

	@MappingColumn(columnName = "COOPERTYPE_ID")
	private String coopertypeId;

	@MappingColumn(columnName = "COOPERTYPE_NAME")
	private String coopertypeName;


	@MappingColumn(columnName = "COOPER_CONTACT_NAME")
	private String cooperContactName;

	@MappingColumn(columnName = "COOPER_CONTACT_MOBILE")
	private String cooperContactMobile;

	@MappingColumn(columnName = "COOPER_STATE")
	private Integer cooperState;

	@MappingColumn(columnName = "COOPER_REMARK")
	private String cooperRemark;

	@MappingColumn(columnName = "SHOP_ID")
	private String shopId;

	@MappingColumn(columnName = "MARKET_ID")
	private String marketId;

	@MappingColumn(columnName = "CREATE_TIME")
	private Date createTime;

	@MappingColumn(columnName = "UPDATE_TIME")
	private Date updateTime;

	@MappingTable(tableName = "CRM_COOPERTYPE")
	private Coopertype coopertype;

	private CooperationVO cooperationVO;// 车系


	public String getCooperId() {
		return cooperId;
	}

	public void setCooperId(String cooperId) {
		this.cooperId = cooperId;
	}

	public String getCooperName() {
		return cooperName;
	}

	public void setCooperName(String cooperName) {
		this.cooperName = cooperName;
	}

	public String getCoopertypeId() {
		return coopertypeId;
	}

	public void setCoopertypeId(String coopertypeId) {
		this.coopertypeId = coopertypeId;
	}

	public String getCoopertypeName() {
		return coopertypeName;
	}

	public void setCoopertypeName(String coopertypeName) {
		this.coopertypeName = coopertypeName;
	}

	public String getCooperContactName() {
		return cooperContactName;
	}

	public void setCooperContactName(String cooperContactName) {
		this.cooperContactName = cooperContactName;
	}

	public String getCooperContactMobile() {
		return cooperContactMobile;
	}

	public void setCooperContactMobile(String cooperContactMobile) {
		this.cooperContactMobile = cooperContactMobile;
	}

	public Integer getCooperState() {
		return cooperState;
	}

	public void setCooperState(Integer cooperState) {
		this.cooperState = cooperState;
	}

	public String getCooperRemark() {
		return cooperRemark;
	}

	public void setCooperRemark(String cooperRemark) {
		this.cooperRemark = cooperRemark;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Coopertype getCoopertype() {
		return coopertype;
	}

	public void setCoopertype(Coopertype coopertype) {
		this.coopertype = coopertype;
	}

	public CooperationVO getCooperationVO() {
		return cooperationVO;
	}

	public void setCooperationVO(CooperationVO cooperationVO) {
		this.cooperationVO = cooperationVO;
	}
}
